package com.ny.demo603;

public class User {
    private int id;
    private String name;
    private String password;
    public User(int id, String name, String password) {
         this.id = id;
        this.name = name;
        this.password = password;
    }
    public User(){

    }
    public int getId() {
        return id;
    }

    public void setPassword(String pwd) {
         this.password = pwd;
    }

    public void setName(String name) {
         this.name = name;
    }

    public void setId(int id) {
         this.id = id;
    }

}
